<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="icon" href="favicon.ico" type="image/x-icon"/>
<title>用户积分-用户管理-{$site.BACK_NAME}</title>
<include file="Public:jscss"/>
<script language="javascript" type="text/javascript" src="__PUBLIC__/js/My97DatePicker/WdatePicker.js"></script>
</head>
<body>
<div class="wrap">
 <include file="Public:head"/>
 <div class="mainBody">
  <include file="Public:left"/>
  <div id="Right">
   <div class="Item hr">
    <div class="current">用户积分</div> &gt;&gt; <div class="current">{$user.realname},可用积分{$user.score},总积分{$user.total_score}</div>
   </div>
   <form action="" method="post" id="quickForm">
    <b>快速修改：</b>
	<select name="s_type">
	 <option value="1">普通模式</option>
	 <option value="2">不计入月</option>
	 <option value="3">只总积分</option>
	 <option value="4">可用积分</option>
	 <option value="5">只录也计</option>
	 <option value="6">只录不计</option>
	</select>
	<select name="s_calc">
	 <option value="1">加</option>
	 <option value="0">减</option>
	</select>
	分值
	<input type="text" name="s_score" class="input" value="0" style="width:40px;"/>
	备注:
    <input type="text" name="s_remark" class="input" value="" style="width:500px;"/>
	<input type="hidden" name="user_id" value="{$user.user_id}" />
	<input type="submit" class="btn cfz_submit" value='确定'/>
   </form>
   <div class="Item hr">
    <div class="current">积分日志</div>
   </div>
   <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tab">
    <thead>
     <tr>
      <td width="10%">序号</td>
      <td width="20%">时间</td>
	  <td width="10%">影响积分</td>
      <td width="50%">备注</td>
      <td width="10%">计入当月</td>
     </tr>
    </thead>
    <volist name="list" id="vo">
    <tr>
     <td align="left">{$i}</td>
	 <td align="center">{$vo.add_time|date="Y-m-d H:i:s",###}</td>
	 <td align="left">{$vo.score}</td>
     <td align="left">{$vo.remark}</td>
	 <td align="center">{$vo.reckon_in}</td>
    </tr>
    </volist>
   </table>
   <div class="viciao">{$page}</div>
  </div>
 </div>
</div>
<div class="clear"></div>
<include file="Public:foot"/>
</body>
<script type="text/javascript">
$(function(){
	$(".cfz_submit").click(function(){
		if(!isSafeInt($("input[name='s_score']").val())){
			$.jBox.tip('分值只能为数字', 'info');
			return false;
		}
		commonAjaxSubmit();
		return false;
	});
});
</script>
</html>